package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.qc.CommonDefect;
import org.apache.ibatis.annotations.Param;

public interface CommonDefectService {
    Result<PageInfo<CommonDefect>> selectList(CommonDefect commonDefect,int pageNum,int pageSize);

    Result selectById(Long id);
    Result save(CommonDefect commonDefect);

    Result updateById(CommonDefect commonDefect);

    Result deleteById(Long id);

    Result batchDelete(Long[] ids);


}
